<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后代选择器子级标签</title>
    <style>
        .star > a {
            color: #9C1A1C;
        }
    </style>
</head>
<body>
<div class="star">
    <a>特等奖</a>
    <div>
        <a>一等奖</a>
    </div>
</div>
</body>
</html>